#Boa:Frame:QdrtcImgnryFrame

#### QUADRATIC WITH IMAGINARY ANSWER FRAME ####

import wx

def create(parent):
    return QdrtcImgnryFrame(parent)

[wxID_QDRTCIMGNRYFRAME, wxID_QDRTCIMGNRYFRAMEBTNCLOSE, 
 wxID_QDRTCIMGNRYFRAMESTATICLINE1, wxID_QDRTCIMGNRYFRAMETXTDENOMINATOR, 
 wxID_QDRTCIMGNRYFRAMETXTNUMERATOR, 
] = [wx.NewId() for _init_ctrls in range(5)]

class QdrtcImgnryFrame(wx.MDIChildFrame):
    def _init_ctrls(self, prnt):
        # generated method, don't edit
        wx.Frame.__init__(self, id=wxID_QDRTCIMGNRYFRAME,
              name='QdrtcImgnryFrame', parent=prnt, pos=wx.Point(445, 371),
              size=wx.Size(357, 177), style=wx.DEFAULT_FRAME_STYLE,
              title='Quadratic Equation')
        self.SetClientSize(wx.Size(349, 143))
        self.SetBackgroundColour(wx.Colour(228, 228, 228))
        self.SetToolTipString('')
        self.SetIcon(wx.Icon("PiONEicon.ico", wx.BITMAP_TYPE_ICO))

        self.TxtNumerator = wx.StaticText(id=wxID_QDRTCIMGNRYFRAMETXTNUMERATOR,
              label='Numerator', name='TxtNumerator', parent=self,
              pos=wx.Point(32, 16), size=wx.Size(100, 25), style=0)
        self.TxtNumerator.SetToolTipString('')
        self.TxtNumerator.SetFont(wx.Font(16, wx.SWISS, wx.NORMAL, wx.NORMAL,
              False, 'Tahoma'))

        self.staticLine1 = wx.StaticLine(id=wxID_QDRTCIMGNRYFRAMESTATICLINE1,
              name='staticLine1', parent=self, pos=wx.Point(16, 48),
              size=wx.Size(312, 2), style=0)

        self.TxtDenominator = wx.StaticText(id=wxID_QDRTCIMGNRYFRAMETXTDENOMINATOR,
              label='Denominator', name='TxtDenominator', parent=self,
              pos=wx.Point(112, 56), size=wx.Size(120, 25), style=0)
        self.TxtDenominator.SetFont(wx.Font(16, wx.SWISS, wx.NORMAL, wx.NORMAL,
              False, 'Tahoma'))

        self.BtnClose = wx.Button(id=wxID_QDRTCIMGNRYFRAMEBTNCLOSE,
              label='Close', name='BtnClose', parent=self, pos=wx.Point(266,
              112), size=wx.Size(75, 23), style=0)
        self.BtnClose.Bind(wx.EVT_BUTTON, self.OnBtnCloseClick,
              id=wxID_QDRTCIMGNRYFRAMEBTNCLOSE)

    def __init__(self, parent):
        self._init_ctrls(parent)

#Button Actions
#===================================================================================================
    def OnBtnCloseClick(self, event):
        self.Destroy()
